a908e1e4667073e9c19f3e797f11819f4439d3dd,app/src/main/java/org/xbmc/kore/ui/AddonListFragment.java,AddonsAdapter,AddonsAdapter,#Context#number#,225

Before Change


            // Use the same dimensions as in the details fragment, so that it hits Picasso's cache when
            // the user transitions to that fragment, avoiding another call and imediatelly showing the image
            Resources resources = context.getResources();
            artWidth = (int)(resources.getDimension(R.dimen.addondetail_poster_width) /
                             UIUtils.IMAGE_RESIZE_FACTOR);
            artHeight = (int)(resources.getDimension(R.dimen.addondetail_poster_heigth) /
                              UIUtils.IMAGE_RESIZE_FACTOR);
        }

        /** {@inheritDoc} */

After Change


            // the user transitions to that fragment, avoiding another call and imediatelly showing the image
            Resources resources = context.getResources();
            artWidth = resources.getDimensionPixelOffset(R.dimen.addondetail_poster_width);;
            artHeight = resources.getDimensionPixelOffset(R.dimen.addondetail_poster_height);;
        }

        /** {@inheritDoc} */